define(function() {
    return ['$scope','$location', '$interval','$timeout', function($scope,$location,$interval,$timeout) {
		$scope.$emit("top-show",'true');//顶部显示
    	$scope.$emit('menuTypeLight','mine'); 	//控制底部menu高亮
    	$scope.$emit('bub-menu','true'); 	//隐藏底部menu
    	$scope.$emit('flag-tag','16');//显示底部文字
    	
    	//点击重新登录
    	$scope.goLogin = function(){
			transData.password = "";
			transData.sessionId = "";
			transData.userType = "";
			resultData.loginUserData = "";
    		$scope.$emit("goNext","/login");
    	}
        $scope.$apply();
    }];
});